﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

/// <summary>
/// Summary description for Settings
/// </summary>
public class Settings
{
    private static string GetSettingValue(string lpKey)
    {
        return ConfigurationManager.AppSettings[lpKey]; 
    }

    public static string Conexion
    {
        get { return GetSettingValue("Conexion"); }
    }

    public static string SmtpValues
    {
        get { return GetSettingValue("Smtp"); }
    }

    public static string AttachDir
    {
        get { return GetSettingValue("AttachDir"); }
    }
}
